import React, { Component } from 'react'
import { connect } from 'react-redux'
import {RouteComponentProps} from 'react-router-dom'
import '../../css/index.scss'
interface Props extends RouteComponentProps{
    
}
interface State {
    
}

export class Home extends Component<Props, State> {
    state = {}

    render() {
        return (
            <div className='home'>
                <p></p>
                <p>
                    我带你去 <span onClick={()=>this.props.history.push('/classfind')}>奇趣分类</span> 看看吧
                </p>
            </div>
        )
    }
}


const mapDispatchToProps = (dispatch:Function)=>({

})

export default connect(null, mapDispatchToProps)(Home)
